Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / Application-Defined Functions
/


MyInvalRect

Handles a frame invalidation request. This is how you would define your invalidation request function if you were to name it MyInvalRect:

void MyInvalRect    (JMFrameRef frame, 
                     const Rect* dimens);
frame
The frame that contains the area to be invalidated.
dimens
A pointer to the dimensions of the frame.
DISCUSSION
When creating a frame you must designate a callback function to invalidate a portion of the frame if necessary (in a manner similar to the MacOS Toolbox function call InvalRect). The invalid portion can be updated later using the JMFrameUpdate function. This function is always called from within a MySetupPort and MyRestorePort pair.

SEE ALSO
The MySetUpPort function (page 102).

The MyRestorePort function (page 102).

The JMFrameUpdate function (page 88).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
23 APR 1997